<?php
session_start();

unset($_SESSION['admin_email']);
unset($_SESSION['admin_name']);

setcookie("admin_id", "");
setcookie("admin_email", "");
echo "退出成功<br/>";
echo "<a href='login.php'>返回登录页面</a>";
exit();